melody rhythm rule